package com.dries.portal.module.circle.vo;

import com.dries.portal.module.circle.entity.CircleLikes;
import com.dries.portal.module.circle.entity.CircleReply;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @Description:
 * @Author ZSY
 * @createTime 2020/8/26 14:57
 */
@Data
public class CircleDetailVo {

    private Integer id;
    /**
     * 用户ID
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long userId;
    /**
     * 用户名
     */
    private String userName;
    /**
     * 用户头像
     */
    private String userAvatar;
    /**
     * 动态内容
     */
    private String circleContent;
    /**
     * 图片
     */
    private List<String> circleImgs;
    /**
     * 动态浏览量
     */
    private Integer circlePageView;
    /**
     * 创建时间
     */
    private Date createTime;
    /**
     * 修改时间
     */
    private Date modifiedTime;

    private Integer isLike = 0;

    private List<CircleReply> replies;
    private List<CircleLikes> likes;

}
